/**
 * 用户/会员
 *
 */

const memberRoutes = [
  {
    path: "/member",
    component: () => import("@/layout"),
    redirect: "/member/userList",
    name: "member",
    meta: {
      title: "用户管理",
      icon: "el-icon-folder-opened",
      keepAlive: true,
    },
    alwaysShow: true,
    children: [
      {
        path: "/member/userList",
        component: () => import("@/views/member/userList"),
        name: "member_userList",
        meta: {
          title: "用户列表",
          icon: "el-icon-star-on",
          keepAlive: true,
        },
      },  
      {
        path: "/member/scoreList",
        component: () => import("@/views/member/scoreList"),
        name: "member_scoreList",
        meta: {
          title: "代币流水",
          icon: "el-icon-star-on",
          keepAlive: false,
        },
      }, 
      {
        path: "/order/list",
        component: () => import("@/views/order/index"),
        name: "order_list",
        meta: {
          title: "收益结算列表",
          icon: "el-icon-star-on",
          keepAlive: true,
        },
      },
      {
        path: "/member/profitScoreList",
        component: () => import("@/views/member/profitScoreList"),
        name: "member_profitScoreList",
        meta: {
          title: "收益明细",
          icon: "el-icon-star-on",
          keepAlive: false,
        },
      },    
      
    ],
  },
];

export default memberRoutes;
